<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Standard Enumerations</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="gtkbase.html" title="Part II. GTK+核心参考">
<link rel="prev" href="gtk3-Bindings.html" title="Bindings">
<link rel="next" href="gtk3-Selections.html" title="Selections">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-Bindings.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="gtkbase.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-Selections.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-Standard-Enumerations.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-Standard-Enumerations.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-Standard-Enumerations"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-Standard-Enumerations.top_of_page"></a>Standard Enumerations</span></h2>
<p>Standard Enumerations</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-Standard-Enumerations.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkAccelFlags" title="enum GtkAccelFlags">GtkAccelFlags</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkArrowPlacement" title="enum GtkArrowPlacement">GtkArrowPlacement</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkArrowType" title="enum GtkArrowType">GtkArrowType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions">GtkAttachOptions</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkButtonBoxStyle" title="enum GtkButtonBoxStyle">GtkButtonBoxStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkCornerType" title="enum GtkCornerType">GtkCornerType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkDeleteType" title="enum GtkDeleteType">GtkDeleteType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType">GtkDirectionType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkExpanderStyle" title="enum GtkExpanderStyle">GtkExpanderStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkIMPreeditStyle" title="enum GtkIMPreeditStyle">GtkIMPreeditStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkIMStatusStyle" title="enum GtkIMStatusStyle">GtkIMStatusStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification">GtkJustification</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep">GtkMovementStep</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation">GtkOrientation</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkPathPriorityType" title="enum GtkPathPriorityType">GtkPathPriorityType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkPathType" title="enum GtkPathType">GtkPathType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkPolicyType" title="enum GtkPolicyType">GtkPolicyType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle">GtkReliefStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollStep" title="enum GtkScrollStep">GtkScrollStep</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType">GtkScrollType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode">GtkSelectionMode</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType">GtkShadowType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType">GtkStateType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags">GtkStateFlags</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle">GtkToolbarStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkWindowPosition" title="enum GtkWindowPosition">GtkWindowPosition</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkWindowType" title="enum GtkWindowType">GtkWindowType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType">GtkSortType</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkDragResult" title="enum GtkDragResult">GtkDragResult</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkJunctionSides" title="enum GtkJunctionSides">GtkJunctionSides</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkBorderStyle" title="enum GtkBorderStyle">GtkBorderStyle</a>;
enum                <a class="link" href="gtk3-Standard-Enumerations.html#GtkRegionFlags" title="enum GtkRegionFlags">GtkRegionFlags</a>;
</pre>
</div>
<div class="refsect1">
<a name="gtk3-Standard-Enumerations.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gtk3-Standard-Enumerations.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkAccelFlags"></a><h3>enum GtkAccelFlags</h3>
<pre class="programlisting">typedef enum {
  GTK_ACCEL_VISIBLE        = 1 &lt;&lt; 0, /* display in GtkAccelLabel? */
  GTK_ACCEL_LOCKED         = 1 &lt;&lt; 1, /* is it removable? */
  GTK_ACCEL_MASK           = 0x07
} GtkAccelFlags;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkArrowPlacement"></a><h3>enum GtkArrowPlacement</h3>
<pre class="programlisting">typedef enum {
  GTK_ARROWS_BOTH,
  GTK_ARROWS_START,
  GTK_ARROWS_END
} GtkArrowPlacement;
</pre>
<p>
Used to specify the placement of scroll arrows in scrolling menus.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ARROWS-BOTH:CAPS"></a><span class="term"><code class="literal">GTK_ARROWS_BOTH</code></span></p></td>
<td>Place one arrow on each end of the menu.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROWS-START:CAPS"></a><span class="term"><code class="literal">GTK_ARROWS_START</code></span></p></td>
<td>Place both arrows at the top of the menu.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROWS-END:CAPS"></a><span class="term"><code class="literal">GTK_ARROWS_END</code></span></p></td>
<td>Place both arrows at the bottom of the menu.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkArrowType"></a><h3>enum GtkArrowType</h3>
<pre class="programlisting">typedef enum {
  GTK_ARROW_UP,
  GTK_ARROW_DOWN,
  GTK_ARROW_LEFT,
  GTK_ARROW_RIGHT,
  GTK_ARROW_NONE
} GtkArrowType;
</pre>
<p>
Used to indicate the direction in which a <a class="link" href="gtk3-GtkArrow.html#GtkArrow" title="struct GtkArrow"><span class="type">GtkArrow</span></a> should point.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ARROW-UP:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_UP</code></span></p></td>
<td>Represents an upward pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-DOWN:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_DOWN</code></span></p></td>
<td>Represents a downward pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_LEFT</code></span></p></td>
<td>Represents a left pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_RIGHT</code></span></p></td>
<td>Represents a right pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-NONE:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_NONE</code></span></p></td>
<td>No arrow. Since 2.10.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkAttachOptions"></a><h3>enum GtkAttachOptions</h3>
<pre class="programlisting">typedef enum {
  GTK_EXPAND = 1 &lt;&lt; 0,
  GTK_SHRINK = 1 &lt;&lt; 1,
  GTK_FILL   = 1 &lt;&lt; 2
} GtkAttachOptions;
</pre>
<p>
Denotes the expansion properties that a widget will have when it (or its
parent) is resized.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-EXPAND:CAPS"></a><span class="term"><code class="literal">GTK_EXPAND</code></span></p></td>
<td>the widget should expand to take up any extra space in its
container that has been allocated.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHRINK:CAPS"></a><span class="term"><code class="literal">GTK_SHRINK</code></span></p></td>
<td>the widget should shrink as and when possible.
</td>
</tr>
<tr>
<td><p><a name="GTK-FILL:CAPS"></a><span class="term"><code class="literal">GTK_FILL</code></span></p></td>
<td>the widget should fill the space allocated to it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkButtonBoxStyle"></a><h3>enum GtkButtonBoxStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_BUTTONBOX_SPREAD = 1,
  GTK_BUTTONBOX_EDGE,
  GTK_BUTTONBOX_START,
  GTK_BUTTONBOX_END,
  GTK_BUTTONBOX_CENTER
} GtkButtonBoxStyle;
</pre>
<p>
Used to dictate the style that a <a class="link" href="gtk3-GtkButtonBox.html#GtkButtonBox" title="struct GtkButtonBox"><span class="type">GtkButtonBox</span></a> uses to layout the buttons it
contains. (See also: <a class="link" href="gtk3-GtkVButtonBox.html#GtkVButtonBox" title="struct GtkVButtonBox"><span class="type">GtkVButtonBox</span></a> and <a class="link" href="gtk3-GtkHButtonBox.html#GtkHButtonBox" title="struct GtkHButtonBox"><span class="type">GtkHButtonBox</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-BUTTONBOX-SPREAD:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_SPREAD</code></span></p></td>
<td>Buttons are evenly spread across the box.
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-EDGE:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_EDGE</code></span></p></td>
<td>Buttons are placed at the edges of the box.
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-START:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_START</code></span></p></td>
<td>Buttons are grouped towards the start of the box,
  (on the left for a HBox, or the top for a VBox).
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-END:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_END</code></span></p></td>
<td>Buttons are grouped towards the end of the box,
  (on the right for a HBox, or the bottom for a VBox).
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-CENTER:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_CENTER</code></span></p></td>
<td>Buttons are centered in the box. Since 2.12.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkCornerType"></a><h3>enum GtkCornerType</h3>
<pre class="programlisting">typedef enum {
  GTK_CORNER_TOP_LEFT,
  GTK_CORNER_BOTTOM_LEFT,
  GTK_CORNER_TOP_RIGHT,
  GTK_CORNER_BOTTOM_RIGHT
} GtkCornerType;
</pre>
<p>
Specifies which corner a child widget should be placed in when packed into
a <a class="link" href="gtk3-GtkScrolledWindow.html#GtkScrolledWindow" title="struct GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>. This is effectively the opposite of where the scroll
bars are placed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-CORNER-TOP-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_TOP_LEFT</code></span></p></td>
<td>Place the scrollbars on the right and bottom of the
 widget (default behaviour).
</td>
</tr>
<tr>
<td><p><a name="GTK-CORNER-BOTTOM-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_BOTTOM_LEFT</code></span></p></td>
<td>Place the scrollbars on the top and right of the
 widget.
</td>
</tr>
<tr>
<td><p><a name="GTK-CORNER-TOP-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_TOP_RIGHT</code></span></p></td>
<td>Place the scrollbars on the left and bottom of the
 widget.
</td>
</tr>
<tr>
<td><p><a name="GTK-CORNER-BOTTOM-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_BOTTOM_RIGHT</code></span></p></td>
<td>Place the scrollbars on the top and left of the
 widget.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkDeleteType"></a><h3>enum GtkDeleteType</h3>
<pre class="programlisting">typedef enum {
  GTK_DELETE_CHARS,
  GTK_DELETE_WORD_ENDS,           /* delete only the portion of the word to the
                                   * left/right of cursor if we're in the middle
                                   * of a word */
  GTK_DELETE_WORDS,
  GTK_DELETE_DISPLAY_LINES,
  GTK_DELETE_DISPLAY_LINE_ENDS,
  GTK_DELETE_PARAGRAPH_ENDS,      /* like C-k in Emacs (or its reverse) */
  GTK_DELETE_PARAGRAPHS,          /* C-k in pico, kill whole line */
  GTK_DELETE_WHITESPACE           /* M-\ in Emacs */
} GtkDeleteType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkDirectionType"></a><h3>enum GtkDirectionType</h3>
<pre class="programlisting">typedef enum {
  GTK_DIR_TAB_FORWARD,
  GTK_DIR_TAB_BACKWARD,
  GTK_DIR_UP,
  GTK_DIR_DOWN,
  GTK_DIR_LEFT,
  GTK_DIR_RIGHT
} GtkDirectionType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkExpanderStyle"></a><h3>enum GtkExpanderStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_EXPANDER_COLLAPSED,
  GTK_EXPANDER_SEMI_COLLAPSED,
  GTK_EXPANDER_SEMI_EXPANDED,
  GTK_EXPANDER_EXPANDED
} GtkExpanderStyle;
</pre>
<p>
Used to specify the style of the expanders drawn by a <a class="link" href="gtk3-GtkTreeView.html#GtkTreeView" title="struct GtkTreeView"><span class="type">GtkTreeView</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-EXPANDER-COLLAPSED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_COLLAPSED</code></span></p></td>
<td>The style used for a collapsed subtree.
</td>
</tr>
<tr>
<td><p><a name="GTK-EXPANDER-SEMI-COLLAPSED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_SEMI_COLLAPSED</code></span></p></td>
<td>Intermediate style used during animation.
</td>
</tr>
<tr>
<td><p><a name="GTK-EXPANDER-SEMI-EXPANDED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_SEMI_EXPANDED</code></span></p></td>
<td>Intermediate style used during animation.
</td>
</tr>
<tr>
<td><p><a name="GTK-EXPANDER-EXPANDED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_EXPANDED</code></span></p></td>
<td>The style used for an expanded subtree.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkIMPreeditStyle"></a><h3>enum GtkIMPreeditStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_IM_PREEDIT_NOTHING,
  GTK_IM_PREEDIT_CALLBACK,
  GTK_IM_PREEDIT_NONE
} GtkIMPreeditStyle;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkIMStatusStyle"></a><h3>enum GtkIMStatusStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_IM_STATUS_NOTHING,
  GTK_IM_STATUS_CALLBACK,
  GTK_IM_STATUS_NONE
} GtkIMStatusStyle;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkJustification"></a><h3>enum GtkJustification</h3>
<pre class="programlisting">typedef enum {
  GTK_JUSTIFY_LEFT,
  GTK_JUSTIFY_RIGHT,
  GTK_JUSTIFY_CENTER,
  GTK_JUSTIFY_FILL
} GtkJustification;
</pre>
<p>
Used for justifying the text inside a <a class="link" href="gtk3-GtkLabel.html#GtkLabel" title="struct GtkLabel"><span class="type">GtkLabel</span></a> widget. (See also
<a class="link" href="gtk3-GtkAlignment.html#GtkAlignment" title="struct GtkAlignment"><span class="type">GtkAlignment</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-JUSTIFY-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_LEFT</code></span></p></td>
<td>The text is placed at the left edge of the label.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUSTIFY-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_RIGHT</code></span></p></td>
<td>The text is placed at the right edge of the label.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUSTIFY-CENTER:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_CENTER</code></span></p></td>
<td>The text is placed in the center of the label.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUSTIFY-FILL:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_FILL</code></span></p></td>
<td>The text is placed is distributed across the label.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkMovementStep"></a><h3>enum GtkMovementStep</h3>
<pre class="programlisting">typedef enum {
  GTK_MOVEMENT_LOGICAL_POSITIONS,
  GTK_MOVEMENT_VISUAL_POSITIONS,
  GTK_MOVEMENT_WORDS,
  GTK_MOVEMENT_DISPLAY_LINES,
  GTK_MOVEMENT_DISPLAY_LINE_ENDS,
  GTK_MOVEMENT_PARAGRAPHS,
  GTK_MOVEMENT_PARAGRAPH_ENDS,
  GTK_MOVEMENT_PAGES,
  GTK_MOVEMENT_BUFFER_ENDS,
  GTK_MOVEMENT_HORIZONTAL_PAGES
} GtkMovementStep;
</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></span></p></td>
<td>Move forward or back by graphemes
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></span></p></td>
<td>Move left or right by graphemes
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-WORDS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_WORDS</code></span></p></td>
<td>Move forward or back by words
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-DISPLAY-LINES:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_DISPLAY_LINES</code></span></p></td>
<td>Move up or down lines (wrapped lines)
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-DISPLAY-LINE-ENDS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_DISPLAY_LINE_ENDS</code></span></p></td>
<td>Move to either end of a line
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-PARAGRAPHS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_PARAGRAPHS</code></span></p></td>
<td>Move up or down paragraphs (newline-ended lines)
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-PARAGRAPH-ENDS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_PARAGRAPH_ENDS</code></span></p></td>
<td>Move to either end of a paragraph
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-PAGES:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_PAGES</code></span></p></td>
<td>Move by pages
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-BUFFER-ENDS:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_BUFFER_ENDS</code></span></p></td>
<td>Move to ends of the buffer
</td>
</tr>
<tr>
<td><p><a name="GTK-MOVEMENT-HORIZONTAL-PAGES:CAPS"></a><span class="term"><code class="literal">GTK_MOVEMENT_HORIZONTAL_PAGES</code></span></p></td>
<td>Move horizontally by pages
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkOrientation"></a><h3>enum GtkOrientation</h3>
<pre class="programlisting">typedef enum {
  GTK_ORIENTATION_HORIZONTAL,
  GTK_ORIENTATION_VERTICAL
} GtkOrientation;
</pre>
<p>
Represents the orientation of widgets which can be switched between horizontal
and vertical orientation on the fly, like <a class="link" href="gtk3-GtkToolbar.html#GtkToolbar" title="struct GtkToolbar"><span class="type">GtkToolbar</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ORIENTATION-HORIZONTAL:CAPS"></a><span class="term"><code class="literal">GTK_ORIENTATION_HORIZONTAL</code></span></p></td>
<td>The widget is in horizontal orientation.
</td>
</tr>
<tr>
<td><p><a name="GTK-ORIENTATION-VERTICAL:CAPS"></a><span class="term"><code class="literal">GTK_ORIENTATION_VERTICAL</code></span></p></td>
<td>The widget is in vertical orientation.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkPackType"></a><h3>enum GtkPackType</h3>
<pre class="programlisting">typedef enum {
  GTK_PACK_START,
  GTK_PACK_END
} GtkPackType;
</pre>
<p>
Represents the packing location <a class="link" href="gtk3-GtkBox.html#GtkBox" title="struct GtkBox"><span class="type">GtkBox</span></a> children. (See: <a class="link" href="gtk3-GtkVBox.html#GtkVBox" title="struct GtkVBox"><span class="type">GtkVBox</span></a>,
<a class="link" href="gtk3-GtkHBox.html#GtkHBox" title="struct GtkHBox"><span class="type">GtkHBox</span></a>, and <a class="link" href="gtk3-GtkButtonBox.html#GtkButtonBox" title="struct GtkButtonBox"><span class="type">GtkButtonBox</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-PACK-START:CAPS"></a><span class="term"><code class="literal">GTK_PACK_START</code></span></p></td>
<td>The child is packed into the start of the box
</td>
</tr>
<tr>
<td><p><a name="GTK-PACK-END:CAPS"></a><span class="term"><code class="literal">GTK_PACK_END</code></span></p></td>
<td>The child is packed into the end of the box
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkPathPriorityType"></a><h3>enum GtkPathPriorityType</h3>
<pre class="programlisting">typedef enum {
  GTK_PATH_PRIO_LOWEST      = 0,
  GTK_PATH_PRIO_GTK	    = 4,
  GTK_PATH_PRIO_APPLICATION = 8,
  GTK_PATH_PRIO_THEME       = 10,
  GTK_PATH_PRIO_RC          = 12,
  GTK_PATH_PRIO_HIGHEST     = 15
} GtkPathPriorityType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkPathType"></a><h3>enum GtkPathType</h3>
<pre class="programlisting">typedef enum {
  GTK_PATH_WIDGET,
  GTK_PATH_WIDGET_CLASS,
  GTK_PATH_CLASS
} GtkPathType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkPolicyType"></a><h3>enum GtkPolicyType</h3>
<pre class="programlisting">typedef enum {
  GTK_POLICY_ALWAYS,
  GTK_POLICY_AUTOMATIC,
  GTK_POLICY_NEVER
} GtkPolicyType;
</pre>
<p>
Determines when a scroll bar will be visible.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-POLICY-ALWAYS:CAPS"></a><span class="term"><code class="literal">GTK_POLICY_ALWAYS</code></span></p></td>
<td>The scrollbar is always visible.
</td>
</tr>
<tr>
<td><p><a name="GTK-POLICY-AUTOMATIC:CAPS"></a><span class="term"><code class="literal">GTK_POLICY_AUTOMATIC</code></span></p></td>
<td>The scrollbar will appear and disappear as necessary. For example,
 when all of a <span class="type">GtkCList</span> can not be seen.
</td>
</tr>
<tr>
<td><p><a name="GTK-POLICY-NEVER:CAPS"></a><span class="term"><code class="literal">GTK_POLICY_NEVER</code></span></p></td>
<td>The scrollbar will never appear.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkPositionType"></a><h3>enum GtkPositionType</h3>
<pre class="programlisting">typedef enum {
  GTK_POS_LEFT,
  GTK_POS_RIGHT,
  GTK_POS_TOP,
  GTK_POS_BOTTOM
} GtkPositionType;
</pre>
<p>
Describes which edge of a widget a certain feature is positioned at, e.g. the
tabs of a <a class="link" href="gtk3-GtkNotebook.html#GtkNotebook" title="struct GtkNotebook"><span class="type">GtkNotebook</span></a>, the handle of a <a class="link" href="gtk3-GtkHandleBox.html#GtkHandleBox" title="struct GtkHandleBox"><span class="type">GtkHandleBox</span></a> or the label of a
<a class="link" href="gtk3-GtkScale.html#GtkScale" title="struct GtkScale"><span class="type">GtkScale</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-POS-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_POS_LEFT</code></span></p></td>
<td>The feature is at the left edge.
</td>
</tr>
<tr>
<td><p><a name="GTK-POS-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_POS_RIGHT</code></span></p></td>
<td>The feature is at the right edge.
</td>
</tr>
<tr>
<td><p><a name="GTK-POS-TOP:CAPS"></a><span class="term"><code class="literal">GTK_POS_TOP</code></span></p></td>
<td>The feature is at the top edge.
</td>
</tr>
<tr>
<td><p><a name="GTK-POS-BOTTOM:CAPS"></a><span class="term"><code class="literal">GTK_POS_BOTTOM</code></span></p></td>
<td>The feature is at the bottom edge.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkReliefStyle"></a><h3>enum GtkReliefStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_RELIEF_NORMAL,
  GTK_RELIEF_HALF,
  GTK_RELIEF_NONE
} GtkReliefStyle;
</pre>
<p>
Indicated the relief to be drawn around a <a class="link" href="gtk3-GtkButton.html#GtkButton" title="struct GtkButton"><span class="type">GtkButton</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-RELIEF-NORMAL:CAPS"></a><span class="term"><code class="literal">GTK_RELIEF_NORMAL</code></span></p></td>
<td>Draw a normal relief.
</td>
</tr>
<tr>
<td><p><a name="GTK-RELIEF-HALF:CAPS"></a><span class="term"><code class="literal">GTK_RELIEF_HALF</code></span></p></td>
<td>A half relief.
</td>
</tr>
<tr>
<td><p><a name="GTK-RELIEF-NONE:CAPS"></a><span class="term"><code class="literal">GTK_RELIEF_NONE</code></span></p></td>
<td>No relief.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkResizeMode"></a><h3>enum GtkResizeMode</h3>
<pre class="programlisting">typedef enum {
  GTK_RESIZE_PARENT,
  GTK_RESIZE_QUEUE,
  GTK_RESIZE_IMMEDIATE
} GtkResizeMode;
</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-RESIZE-PARENT:CAPS"></a><span class="term"><code class="literal">GTK_RESIZE_PARENT</code></span></p></td>
<td>Pass resize request to the parent
</td>
</tr>
<tr>
<td><p><a name="GTK-RESIZE-QUEUE:CAPS"></a><span class="term"><code class="literal">GTK_RESIZE_QUEUE</code></span></p></td>
<td>Queue resizes on this widget
</td>
</tr>
<tr>
<td><p><a name="GTK-RESIZE-IMMEDIATE:CAPS"></a><span class="term"><code class="literal">GTK_RESIZE_IMMEDIATE</code></span></p></td>
<td>Resize immediately. Deprecated.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkScrollStep"></a><h3>enum GtkScrollStep</h3>
<pre class="programlisting">typedef enum {
  GTK_SCROLL_STEPS,
  GTK_SCROLL_PAGES,
  GTK_SCROLL_ENDS,
  GTK_SCROLL_HORIZONTAL_STEPS,
  GTK_SCROLL_HORIZONTAL_PAGES,
  GTK_SCROLL_HORIZONTAL_ENDS
} GtkScrollStep;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkScrollType"></a><h3>enum GtkScrollType</h3>
<pre class="programlisting">typedef enum {
  GTK_SCROLL_NONE,
  GTK_SCROLL_JUMP,
  GTK_SCROLL_STEP_BACKWARD,
  GTK_SCROLL_STEP_FORWARD,
  GTK_SCROLL_PAGE_BACKWARD,
  GTK_SCROLL_PAGE_FORWARD,
  GTK_SCROLL_STEP_UP,
  GTK_SCROLL_STEP_DOWN,
  GTK_SCROLL_PAGE_UP,
  GTK_SCROLL_PAGE_DOWN,
  GTK_SCROLL_STEP_LEFT,
  GTK_SCROLL_STEP_RIGHT,
  GTK_SCROLL_PAGE_LEFT,
  GTK_SCROLL_PAGE_RIGHT,
  GTK_SCROLL_START,
  GTK_SCROLL_END
} GtkScrollType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkSelectionMode"></a><h3>enum GtkSelectionMode</h3>
<pre class="programlisting">typedef enum {
  GTK_SELECTION_NONE,
  GTK_SELECTION_SINGLE,
  GTK_SELECTION_BROWSE,
  GTK_SELECTION_MULTIPLE
} GtkSelectionMode;
</pre>
<p>
Used to control what selections users are allowed to make.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SELECTION-NONE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_NONE</code></span></p></td>
<td>No selection is possible.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-SINGLE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_SINGLE</code></span></p></td>
<td>Zero or one element may be selected.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-BROWSE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_BROWSE</code></span></p></td>
<td>Exactly one element is selected. In some circumstances,
 such as initially or during a search operation, it's possible for no element
 to be selected with <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>. What is really enforced is that
 the user can't deselect a currently selected element except by selecting
 another element.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-MULTIPLE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_MULTIPLE</code></span></p></td>
<td>Any number of elements may be selected.
 Clicks toggle the state of an item. Any number of elements may be selected.
 The Ctrl key may be used to enlarge the selection, and Shift key to select
 between the focus and the child pointed to. Some widgets may also allow
 Click-drag to select a range of elements.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkShadowType"></a><h3>enum GtkShadowType</h3>
<pre class="programlisting">typedef enum {
  GTK_SHADOW_NONE,
  GTK_SHADOW_IN,
  GTK_SHADOW_OUT,
  GTK_SHADOW_ETCHED_IN,
  GTK_SHADOW_ETCHED_OUT
} GtkShadowType;
</pre>
<p>
Used to change the appearance of an outline typically provided by a <a class="link" href="gtk3-GtkFrame.html#GtkFrame" title="struct GtkFrame"><span class="type">GtkFrame</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SHADOW-NONE:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_NONE</code></span></p></td>
<td>No outline.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-IN:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_IN</code></span></p></td>
<td>The outline is bevelled inwards.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-OUT:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_OUT</code></span></p></td>
<td>The outline is bevelled outwards like a button.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-ETCHED-IN:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_ETCHED_IN</code></span></p></td>
<td>The outline has a sunken 3d appearance.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-ETCHED-OUT:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_ETCHED_OUT</code></span></p></td>
<td>The outline has a raised 3d appearance.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkStateType"></a><h3>enum GtkStateType</h3>
<pre class="programlisting">typedef enum {
  GTK_STATE_NORMAL,
  GTK_STATE_ACTIVE,
  GTK_STATE_PRELIGHT,
  GTK_STATE_SELECTED,
  GTK_STATE_INSENSITIVE,
  GTK_STATE_INCONSISTENT,
  GTK_STATE_FOCUSED
} GtkStateType;
</pre>
<p>
This type indicates the current state of a widget; the state determines how
the widget is drawn. The <a class="link" href="gtk3-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> enumeration is also used to
identify different colors in a <a class="link" href="gtk3-GtkStyle.html#GtkStyle" title="struct GtkStyle"><span class="type">GtkStyle</span></a> for drawing, so states can be
used for subparts of a widget as well as entire widgets.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-STATE-NORMAL:CAPS"></a><span class="term"><code class="literal">GTK_STATE_NORMAL</code></span></p></td>
<td>State during normal operation.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-ACTIVE:CAPS"></a><span class="term"><code class="literal">GTK_STATE_ACTIVE</code></span></p></td>
<td>State of a currently active widget, such as a depressed button.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-PRELIGHT:CAPS"></a><span class="term"><code class="literal">GTK_STATE_PRELIGHT</code></span></p></td>
<td>State indicating that the mouse pointer is over
                     the widget and the widget will respond to mouse clicks.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-SELECTED:CAPS"></a><span class="term"><code class="literal">GTK_STATE_SELECTED</code></span></p></td>
<td>State of a selected item, such the selected row in a list.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-INSENSITIVE:CAPS"></a><span class="term"><code class="literal">GTK_STATE_INSENSITIVE</code></span></p></td>
<td>State indicating that the widget is
                        unresponsive to user actions.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-INCONSISTENT:CAPS"></a><span class="term"><code class="literal">GTK_STATE_INCONSISTENT</code></span></p></td>
<td>The widget is inconsistent, such as checkbuttons
                         or radiobuttons that aren't either set to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> nor <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
                         or buttons requiring the user attention.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FOCUSED:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FOCUSED</code></span></p></td>
<td>The widget has the keyboard focus.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkStateFlags"></a><h3>enum GtkStateFlags</h3>
<pre class="programlisting">typedef enum {
  GTK_STATE_FLAG_NORMAL       = 0,
  GTK_STATE_FLAG_ACTIVE       = 1 &lt;&lt; 0,
  GTK_STATE_FLAG_PRELIGHT     = 1 &lt;&lt; 1,
  GTK_STATE_FLAG_SELECTED     = 1 &lt;&lt; 2,
  GTK_STATE_FLAG_INSENSITIVE  = 1 &lt;&lt; 3,
  GTK_STATE_FLAG_INCONSISTENT = 1 &lt;&lt; 4,
  GTK_STATE_FLAG_FOCUSED      = 1 &lt;&lt; 5
} GtkStateFlags;
</pre>
<p>
Describes a widget state.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-STATE-FLAG-NORMAL:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_NORMAL</code></span></p></td>
<td>State during normal operation.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FLAG-ACTIVE:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_ACTIVE</code></span></p></td>
<td>Widget is active.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FLAG-PRELIGHT:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_PRELIGHT</code></span></p></td>
<td>Widget has a mouse pointer over it.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FLAG-SELECTED:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_SELECTED</code></span></p></td>
<td>Widget is selected.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FLAG-INSENSITIVE:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_INSENSITIVE</code></span></p></td>
<td>Widget is insensitive.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FLAG-INCONSISTENT:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_INCONSISTENT</code></span></p></td>
<td>Widget is inconsistent.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-FLAG-FOCUSED:CAPS"></a><span class="term"><code class="literal">GTK_STATE_FLAG_FOCUSED</code></span></p></td>
<td>Widget has the keyboard focus.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkToolbarStyle"></a><h3>enum GtkToolbarStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_TOOLBAR_ICONS,
  GTK_TOOLBAR_TEXT,
  GTK_TOOLBAR_BOTH,
  GTK_TOOLBAR_BOTH_HORIZ
} GtkToolbarStyle;
</pre>
<p>
Used to customize the appearance of a <a class="link" href="gtk3-GtkToolbar.html#GtkToolbar" title="struct GtkToolbar"><span class="type">GtkToolbar</span></a>. Note that
setting the toolbar style overrides the user's preferences
for the default toolbar style.  Note that if the button has only
a label set and GTK_TOOLBAR_ICONS is used, the label will be
visible, and vice versa.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-TOOLBAR-ICONS:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_ICONS</code></span></p></td>
<td>Buttons display only icons in the toolbar.
</td>
</tr>
<tr>
<td><p><a name="GTK-TOOLBAR-TEXT:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_TEXT</code></span></p></td>
<td>Buttons display only text labels in the toolbar.
</td>
</tr>
<tr>
<td><p><a name="GTK-TOOLBAR-BOTH:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_BOTH</code></span></p></td>
<td>Buttons display text and icons in the toolbar.
</td>
</tr>
<tr>
<td><p><a name="GTK-TOOLBAR-BOTH-HORIZ:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_BOTH_HORIZ</code></span></p></td>
<td>Buttons display icons and text alongside each
 other, rather than vertically stacked
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkWindowPosition"></a><h3>enum GtkWindowPosition</h3>
<pre class="programlisting">typedef enum {
  GTK_WIN_POS_NONE,
  GTK_WIN_POS_CENTER,
  GTK_WIN_POS_MOUSE,
  GTK_WIN_POS_CENTER_ALWAYS,
  GTK_WIN_POS_CENTER_ON_PARENT
} GtkWindowPosition;
</pre>
<p>
Window placement can be influenced using this enumeration. Note that
using <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WIN-POS-CENTER-ALWAYS:CAPS"><span class="type">GTK_WIN_POS_CENTER_ALWAYS</span></a> is almost always a bad idea.
It won't necessarily work well with all window managers or on all windowing systems.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-WIN-POS-NONE:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_NONE</code></span></p></td>
<td>No influence is made on placement.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-CENTER:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_CENTER</code></span></p></td>
<td>Windows should be placed in the center of the screen.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-MOUSE:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_MOUSE</code></span></p></td>
<td>Windows should be placed at the current mouse position.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-CENTER-ALWAYS:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_CENTER_ALWAYS</code></span></p></td>
<td>Keep window centered as it changes size, etc.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-CENTER-ON-PARENT:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_CENTER_ON_PARENT</code></span></p></td>
<td>Center the window on its transient
 parent (see <a class="link" href="gtk3-GtkWindow.html#gtk-window-set-transient-for" title="gtk_window_set_transient_for ()"><code class="function">gtk_window_set_transient_for()</code></a>).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkWindowType"></a><h3>enum GtkWindowType</h3>
<pre class="programlisting">typedef enum {
  GTK_WINDOW_TOPLEVEL,
  GTK_WINDOW_POPUP
} GtkWindowType;
</pre>
<p>
A <a class="link" href="gtk3-GtkWindow.html#GtkWindow" title="GtkWindow"><span class="type">GtkWindow</span></a> can be one of these types. Most things you'd consider a
"window" should have type <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS"><span class="type">GTK_WINDOW_TOPLEVEL</span></a>; windows with this type
are managed by the window manager and have a frame by default (call
<a class="link" href="gtk3-GtkWindow.html#gtk-window-set-decorated" title="gtk_window_set_decorated ()"><code class="function">gtk_window_set_decorated()</code></a> to toggle the frame).  Windows with type
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> are ignored by the window manager; window manager
keybindings won't work on them, the window manager won't decorate the
window with a frame, many GTK+ features that rely on the window
manager will not work (e.g. resize grips and
maximization/minimization). <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> is used to implement
widgets such as <a class="link" href="gtk3-GtkMenu.html#GtkMenu" title="struct GtkMenu"><span class="type">GtkMenu</span></a> or tooltips that you normally don't think of
as windows per se. Nearly all windows should be <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS"><span class="type">GTK_WINDOW_TOPLEVEL</span></a>.
In particular, do not use <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> just to turn off
the window borders; use <a class="link" href="gtk3-GtkWindow.html#gtk-window-set-decorated" title="gtk_window_set_decorated ()"><code class="function">gtk_window_set_decorated()</code></a> for that.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-WINDOW-TOPLEVEL:CAPS"></a><span class="term"><code class="literal">GTK_WINDOW_TOPLEVEL</code></span></p></td>
<td>A regular window, such as a dialog.
</td>
</tr>
<tr>
<td><p><a name="GTK-WINDOW-POPUP:CAPS"></a><span class="term"><code class="literal">GTK_WINDOW_POPUP</code></span></p></td>
<td>A special window such as a tooltip.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkSortType"></a><h3>enum GtkSortType</h3>
<pre class="programlisting">typedef enum {
  GTK_SORT_ASCENDING,
  GTK_SORT_DESCENDING
} GtkSortType;
</pre>
<p>
Determines the direction of a sort.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SORT-ASCENDING:CAPS"></a><span class="term"><code class="literal">GTK_SORT_ASCENDING</code></span></p></td>
<td>Sorting is in ascending order.
</td>
</tr>
<tr>
<td><p><a name="GTK-SORT-DESCENDING:CAPS"></a><span class="term"><code class="literal">GTK_SORT_DESCENDING</code></span></p></td>
<td>Sorting is in descending order.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkDragResult"></a><h3>enum GtkDragResult</h3>
<pre class="programlisting">typedef enum {
  GTK_DRAG_RESULT_SUCCESS,
  GTK_DRAG_RESULT_NO_TARGET,
  GTK_DRAG_RESULT_USER_CANCELLED,
  GTK_DRAG_RESULT_TIMEOUT_EXPIRED,
  GTK_DRAG_RESULT_GRAB_BROKEN,
  GTK_DRAG_RESULT_ERROR
} GtkDragResult;
</pre>
<p>
Gives an indication why a drag operation failed.
The value can by obtained by connecting to the
<span class="type">"drag-failed"</span> signal.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-DRAG-RESULT-SUCCESS:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_SUCCESS</code></span></p></td>
<td>The drag operation was successful.
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-NO-TARGET:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_NO_TARGET</code></span></p></td>
<td>No suitable drag target.
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-USER-CANCELLED:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_USER_CANCELLED</code></span></p></td>
<td>The user cancelled the drag operation.
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-TIMEOUT-EXPIRED:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_TIMEOUT_EXPIRED</code></span></p></td>
<td>The drag operation timed out.
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-GRAB-BROKEN:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_GRAB_BROKEN</code></span></p></td>
<td>The pointer or keyboard grab used
 for the drag operation was broken.
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-ERROR:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_ERROR</code></span></p></td>
<td>The drag operation failed due to some
 unspecified error.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkJunctionSides"></a><h3>enum GtkJunctionSides</h3>
<pre class="programlisting">typedef enum {
  GTK_JUNCTION_NONE   = 0,
  GTK_JUNCTION_CORNER_TOPLEFT = 1 &lt;&lt; 0,
  GTK_JUNCTION_CORNER_TOPRIGHT = 1 &lt;&lt; 1,
  GTK_JUNCTION_CORNER_BOTTOMLEFT = 1 &lt;&lt; 2,
  GTK_JUNCTION_CORNER_BOTTOMRIGHT = 1 &lt;&lt; 3,
  GTK_JUNCTION_TOP    = (GTK_JUNCTION_CORNER_TOPLEFT | GTK_JUNCTION_CORNER_TOPRIGHT),
  GTK_JUNCTION_BOTTOM = (GTK_JUNCTION_CORNER_BOTTOMLEFT | GTK_JUNCTION_CORNER_BOTTOMRIGHT),
  GTK_JUNCTION_LEFT   = (GTK_JUNCTION_CORNER_TOPLEFT | GTK_JUNCTION_CORNER_BOTTOMLEFT),
  GTK_JUNCTION_RIGHT  = (GTK_JUNCTION_CORNER_TOPRIGHT | GTK_JUNCTION_CORNER_BOTTOMRIGHT)
} GtkJunctionSides;
</pre>
<p>
Describes how a rendered element connects to adjacent elements.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-JUNCTION-NONE:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_NONE</code></span></p></td>
<td>No junctions.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-CORNER-TOPLEFT:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_CORNER_TOPLEFT</code></span></p></td>
<td>Element connects on the top-left corner.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-CORNER-TOPRIGHT:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_CORNER_TOPRIGHT</code></span></p></td>
<td>Element connects on the top-right corner.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-CORNER-BOTTOMLEFT:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_CORNER_BOTTOMLEFT</code></span></p></td>
<td>Element connects on the bottom-left corner.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-CORNER-BOTTOMRIGHT:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_CORNER_BOTTOMRIGHT</code></span></p></td>
<td>Element connects on the bottom-right corner.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-TOP:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_TOP</code></span></p></td>
<td>Element connects on the top side.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-BOTTOM:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_BOTTOM</code></span></p></td>
<td>Element connects on the bottom side.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_LEFT</code></span></p></td>
<td>Element connects on the left side.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUNCTION-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_JUNCTION_RIGHT</code></span></p></td>
<td>Element connects on the right side.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkBorderStyle"></a><h3>enum GtkBorderStyle</h3>
<pre class="programlisting">typedef enum {
  GTK_BORDER_STYLE_NONE,
  GTK_BORDER_STYLE_SOLID,
  GTK_BORDER_STYLE_INSET,
  GTK_BORDER_STYLE_OUTSET
} GtkBorderStyle;
</pre>
<p>
Describes how the border of a UI element should be rendered.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-BORDER-STYLE-NONE:CAPS"></a><span class="term"><code class="literal">GTK_BORDER_STYLE_NONE</code></span></p></td>
<td>No visible border
</td>
</tr>
<tr>
<td><p><a name="GTK-BORDER-STYLE-SOLID:CAPS"></a><span class="term"><code class="literal">GTK_BORDER_STYLE_SOLID</code></span></p></td>
<td>A solid border
</td>
</tr>
<tr>
<td><p><a name="GTK-BORDER-STYLE-INSET:CAPS"></a><span class="term"><code class="literal">GTK_BORDER_STYLE_INSET</code></span></p></td>
<td>An inset border
</td>
</tr>
<tr>
<td><p><a name="GTK-BORDER-STYLE-OUTSET:CAPS"></a><span class="term"><code class="literal">GTK_BORDER_STYLE_OUTSET</code></span></p></td>
<td>An outset border
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkRegionFlags"></a><h3>enum GtkRegionFlags</h3>
<pre class="programlisting">typedef enum {
  GTK_REGION_EVEN    = 1 &lt;&lt; 0,
  GTK_REGION_ODD     = 1 &lt;&lt; 1,
  GTK_REGION_FIRST   = 1 &lt;&lt; 2,
  GTK_REGION_LAST    = 1 &lt;&lt; 3,
  GTK_REGION_SORTED  = 1 &lt;&lt; 5
} GtkRegionFlags;
</pre>
<p>
Describes a region within a widget.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-REGION-EVEN:CAPS"></a><span class="term"><code class="literal">GTK_REGION_EVEN</code></span></p></td>
<td>Region has an even number within a set.
</td>
</tr>
<tr>
<td><p><a name="GTK-REGION-ODD:CAPS"></a><span class="term"><code class="literal">GTK_REGION_ODD</code></span></p></td>
<td>Region has an odd number within a set.
</td>
</tr>
<tr>
<td><p><a name="GTK-REGION-FIRST:CAPS"></a><span class="term"><code class="literal">GTK_REGION_FIRST</code></span></p></td>
<td>Region is the first one within a set.
</td>
</tr>
<tr>
<td><p><a name="GTK-REGION-LAST:CAPS"></a><span class="term"><code class="literal">GTK_REGION_LAST</code></span></p></td>
<td>Region is the last one within a set.
</td>
</tr>
<tr>
<td><p><a name="GTK-REGION-SORTED:CAPS"></a><span class="term"><code class="literal">GTK_REGION_SORTED</code></span></p></td>
<td>Region is part of a sorted area.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>